.class Lcom/example/m6shop/PayBalanceAcivity$2;
.super Ljava/lang/Object;
.source "PayBalanceAcivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/PayBalanceAcivity;->gotopay()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6shop/PayBalanceAcivity;

.field private final synthetic val$payInfo:Ljava/lang/String;


# direct methods
.method constructor <init>(Lcom/example/m6shop/PayBalanceAcivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/PayBalanceAcivity$2;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    iput-object p2, p0, Lcom/example/m6shop/PayBalanceAcivity$2;->val$payInfo:Ljava/lang/String;

    .line 315
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .prologue
    .line 320
    new-instance v0, Lcom/alipay/sdk/app/PayTask;

    iget-object v3, p0, Lcom/example/m6shop/PayBalanceAcivity$2;->this$0:Lcom/example/m6shop/PayBalanceAcivity;

    invoke-direct {v0, v3}, Lcom/alipay/sdk/app/PayTask;-><init>(Landroid/app/Activity;)V

    .line 322
    .local v0, "alipay":Lcom/alipay/sdk/app/PayTask;
    iget-object v3, p0, Lcom/example/m6shop/PayBalanceAcivity$2;->val$payInfo:Ljava/lang/String;

    const/4 v4, 0x1

    invoke-virtual {v0, v3, v4}, Lcom/alipay/sdk/app/PayTask;->pay(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v2

    .line 324
    .local v2, "result":Ljava/lang/String;
    new-instance v1, Landroid/os/Message;

    invoke-direct {v1}, Landroid/os/Message;-><init>()V

    .line 325
    .local v1, "msg":Landroid/os/Message;
    const/16 v3, 0x63

    iput v3, v1, Landroid/os/Message;->arg1:I

    .line 326
    iput-object v2, v1, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 327
    sget-object v3, Lcom/example/m6shop/PayBalanceAcivity;->h:Landroid/os/Handler;

    invoke-virtual {v3, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 328
    return-void
.end method
